From 1261e9c433fb6b673f7abe3b51bbf3632cefcd72 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 20 Feb 2006 20:04:21 +0000 Subject: [PATCH] Add proto for name_option. Battle MS's ongoing attempt to banish standard C from the earth. --- defs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/defs.h b/defs.h index 76ca729ac..cce4daba4 100644 --- a/defs.h +++ b/defs.h @@ -49,11 +49,13 @@ #if __WIN32__ # define snprintf _snprintf # define vsnprintf _vsnprintf +# define fileno _fileno #endif /* Turn off numeric conversion warning */ #if __WIN32__ -#pragma warning(disable:4244) +# pragma warning(disable:4244) +# define _CRT_SECURE_NO_DEPRECATE 1 #endif /* @@ -545,6 +547,7 @@ ff_vecs_t *find_vec(char * const, char **); void disp_vecs(void); void exit_vecs(void); void disp_formats(int version); +const char * name_option(long type); void printposn(const double c, int is_lat); #ifndef DEBUG_MEM -- 2.30.2